//
//  ZYSegmentViewController.h
//  生活小助手
//
//  Created by 振亚 姜 on 14-8-9.
//  Copyright (c) 2014年 lxz. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZYSegmentViewController : UIViewController

@property(nonatomic, assign) UIViewController *selectedViewController;
@property (nonatomic,strong) UISegmentedControl *segment;
@property(nonatomic, assign) NSInteger selectedViewControllerIndex;

- (void)setViewControllers:(NSArray *)viewControllers;
- (void)setViewControllers:(NSArray *)viewControllers titles:(NSArray *)titles;
- (void)pushViewController:(UIViewController *)viewController;
- (void)pushViewController:(UIViewController *)viewController title:(NSString *)title;

@end
